package com.study.service.PSIservice;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.study.model.jdao.PSIjdao.GoodDao;
import com.study.model.pojo.PSIpojo.Good;
@Service
public class GoodService {
	@Autowired
	GoodDao goodDao;
	
	/**
	 * 查询所有采购订单
	 * @return
	 */
	public List<Good> findAll(){
		return (List<Good>) goodDao.findAll();
	}	
	
}
